package com.wt.admin.domain.entity.image;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wt.admin.config.JacksonTypeHandler;
import com.wt.admin.domain.entity.PublicEntity;
import lombok.Data;
import org.dromara.easyai.yolo.YoloConfig;

@Data
@TableName(value = "image_classification")
public class ImageClassificationEntity extends PublicEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "language_classification_id")
    private Integer languageClassificationId;

    @TableField(value = "title")
    private String title;

    @TableField(value = "yolo_config",typeHandler = JacksonTypeHandler.class)
    private YoloConfig yoloConfig;

    @TableField(value = "image_width")
    private Float imageWidth;

    @TableField(value = "image_height")
    private Float imageHeight;

    @TableField(value = "training")
    private Boolean training;


}
